<?PHP
	require_once('output.php');
	require_once('database/database.class.php');
	$db = Database::getInstance();
	$db->connect();
	
	$output = Output::getInstance();
	
	$items = $db->selectAssoc('SELECT title, link, type FROM navi WHERE state != \'E_USER_LOGGEDIN\' ORDER BY place ASC');
	$output->add('navi',$items);
?>